import requests  # 导入requests包

url = 'https://shop.10086.cn/list/140_100_100_0_0_0_0.html'
strhtml = requests.get(url)  # Get方式获取网页数据
print(strhtml.text)

# <dd>
#                                     <a province_id="100" class="ac_show_city" iscity="1"  href="javascript:void(0)">北京</a>
#                                 </dd>
# 																<dd>
#                                     <a province_id="551" class="ac_show_city" iscity=""  href="javascript:void(0)">安徽</a>
#                                 </dd>